package com.outlook.pojo;

import com.outlook.lang.KeyValuePair;

/**
 * 
 * @author watson.wu
 *
 */
public class AttributeRange {
	
	private KeyValuePair[] range;

	public AttributeRange(KeyValuePair[] range) {
		super();
		this.range = range;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		int index = 1;
		for(KeyValuePair metaData : range) {
			sb.append(metaData.toString());
			if(range.length != index++)
				sb.append(";");
		}
		return sb.toString();
	}

	public KeyValuePair[] getRange() {
		return range;
	}

	public void setRange(KeyValuePair[] range) {
		this.range = range;
	}

}
